
package com.insigma.business.qrcode.merchant._consumer.impl;


import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.welfare.dto.CareWelfareMerchantStreetRelDTO;
import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantStreetRelInsertRequest;
import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantStreetRelSearchRequest;
import com.insigma.business.qrcode.merchant.dto.request.CareWelfareMerchantStreetRelUpdateRequest;
import com.insigma.business.qrcode.merchant._consumer.CareWelfareMerchantStreetRelConsumer;
import com.insigma.business.qrcode.merchant._provider.CareWelfareMerchantStreetRelProvider;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("careWelfareMerchantStreetRelConsumer")
public class CareWelfareMerchantStreetRelConsumerImpl implements CareWelfareMerchantStreetRelConsumer {

    @Resource
    private CareWelfareMerchantStreetRelProvider careWelfareMerchantStreetRelProvider;

    
    @Override
    public BasePagingResponse<List<CareWelfareMerchantStreetRelDTO>> searchCareWelfareMerchantStreetRel(final CareWelfareMerchantStreetRelSearchRequest searchRequest) {
        return careWelfareMerchantStreetRelProvider.searchCareWelfareMerchantStreetRel(searchRequest);
    }

   
    @Override
    public BaseResponse<CareWelfareMerchantStreetRelDTO> getCareWelfareMerchantStreetRel(final BaseGetRequest baseGetRequest) {
        return careWelfareMerchantStreetRelProvider.getCareWelfareMerchantStreetRel(baseGetRequest);
    }

    
    @Override
    public BaseResponse<String> insertCareWelfareMerchantStreetRel(final CareWelfareMerchantStreetRelInsertRequest insertRequest) {
        return careWelfareMerchantStreetRelProvider.insertCareWelfareMerchantStreetRel(insertRequest);
    }

    
    @Override
    public BaseResponse<Integer> updateCareWelfareMerchantStreetRel(final CareWelfareMerchantStreetRelUpdateRequest updateRequest) {
        return careWelfareMerchantStreetRelProvider.updateCareWelfareMerchantStreetRel(updateRequest);
    }

    
    @Override
    public BaseResponse<Integer> deleteCareWelfareMerchantStreetRel(final BaseDeleteRequest deleteRequest) {
        return careWelfareMerchantStreetRelProvider.deleteCareWelfareMerchantStreetRel(deleteRequest);
    }

    @Override
    public BaseResponse<Integer> deleteCareWelfareMerchantStreetRel(CareWelfareMerchantStreetRelUpdateRequest deleteRequest) {
        return careWelfareMerchantStreetRelProvider.deleteCareWelfareMerchantStreetRel(deleteRequest);
    }

}
